package com.ls.blog.dto;

import lombok.Data;
import org.springframework.security.core.GrantedAuthority;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author lishun
 * @since 2022-01-17
 */
@Data
public class ResourceDTO implements Serializable {

    private Integer id;

    private String resourceName;

    private String url;

    private String requestMethod;

    private Integer parentId;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Boolean isDisable;

    private Integer isAnonymous;

    private List<String> roleCodeList;

    private List<ResourceDTO> children;

}
